﻿using Questionnaire.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Questionnaire.API.Models
{
    public class QuestionnaireModel
    {
      
        public int QuestionnaireId { get; set; }
        public string Name { get; set; }
        public DateTime CreateTime { get; set; }
        public int FillNumber { get; set; }
        public string IsHang { get; set; }
        public bool IsDelete { get; set; }
        public DateTime? BeginTime { get; set; }
        public DateTime? EndTime { get; set; }
        public int Serial { get; set; }
        public int UserId { get; set; }
        public string Describe { get; set; }
        public int InvestigationNumber { get; set; }

        public virtual ICollection<QuestionModel> Question { get; set; }
        public virtual List<TouristsModel> Tourists { get; set; }
        public virtual User User { get; set; }
    }
}
